home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / SNNSV32.ZIP / SNNSv3.2 / kernel / sources / kr_art.h < prev    next >
C/C++ Source or Header  |  1994-04-25  |  3KB  |  105 lines

  1. /*****************************************************************************
  2.   FILE           : kr_art.h
  3.   SHORTNAME      : kr_art.c
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : SNNS Kernel Function Prototypes for ART-Networks
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Kai-Uwe Herrmann
  10.   DATE           : 17.05.92
  11.  
  12.   CHANGED BY     : Sven Doering
  13.   IDENTIFICATION : @(#)kr_art.h    1.7 3/15/94
  14.   SCCS VERSION   : 1.7
  15.   LAST CHANGE    : 3/15/94
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.  
  19. ******************************************************************************/
  20. #ifndef _KR_ART_DEFINED_
  21. #define  _KR_ART_DEFINED_
  22.  
  23.  
  24. /***************************************************************************/
  25. /* krart_prop_synch ()
  26.  
  27.    synchronous propagation (1 cycle) i.e. each unit puts its output onto
  28.    its outgoing links and calculates its new activation.
  29. */
  30. extern  void  krart_prop_synch (void);
  31.  
  32. /***************************************************************************/
  33. /* krart_get_winner ()
  34.  
  35.    get the winner of the last propagation cycle. returns a pointer to
  36.    the winning recognition unit.
  37. */
  38. extern  struct Unit  *krart_get_winner (TopoPtrArray wta_layer,FlintType winner_output);
  39.  
  40. /***************************************************************************/
  41. /* krart_reset_activations
  42.  
  43.    reset activation values of all non input units to their i_act value.
  44. */
  45. extern  krui_err   krart_reset_activations (void);
  46.  
  47.  
  48. /***************************************************************************/
  49. /* krart_deleteTouchFlags
  50.  
  51.    delete touch-flags of all units in unit-array
  52. */
  53. extern  void               krart_deleteTouchFlags (void);
  54.  
  55. /***************************************************************************/
  56. /* krart_init_sorting
  57.  
  58.    initialize unit-array in order to prepare it for sorting routine
  59. */
  60. extern  void               krart_init_sorting (void);
  61.  
  62. /***************************************************************************/
  63. /* krart_get_NoOfInputUnits
  64.  
  65.    returns no of input units of the network
  66. */
  67. extern  int                krart_get_NoOfInputUnits (void);
  68.  
  69. /***************************************************************************/
  70. /* krart_check_undeterminedUnits
  71.  
  72.    checks network for undetermined units. if there are any, returns true
  73.    else false.
  74. */
  75. extern  bool               krart_check_undeterminedUnits (void);
  76.  
  77. /***************************************************************************/
  78. /* krart_save_inp_pat()
  79.  
  80.    copies activation values of input units to value_a field of unit-struct.
  81. */
  82. extern  void krart_save_inp_pat (TopoPtrArray topo_inp_ptr);
  83.  
  84.  
  85.  
  86.  
  87. /***************************************************************************/
  88. /* krart_inp_pat_changed ()
  89.  
  90.    returns TRUE, if one or more activation values of input units
  91.    differ from value_a i.e. their value changed.
  92. */
  93. extern  bool krart_inp_pat_changed (TopoPtrArray topo_inp_ptr);
  94.  
  95.  
  96.  
  97.  
  98. #endif 
  99.  
  100.  
  101.  
  102.  
  103.  
  104. /* 104 lines generated by deleteprivatedefinitions.awk */
  105.